<div id="accordion">
@foreach($data['admin']['auth'] as $k=>$v)
<div title="{{$v['name']}}" data-options="iconCls:'{{$v['style']}}'">
	<ul id="menuTree_{{$k}}" class="easyui-tree menuTree">
	@if(isset($v['children']))
		@foreach($v['children'] as $kk=>$vv)
			<li>
				<span><a rel="">{{$vv['name']}}</a></span>
					<ul>
					@if(isset($vv['children']))
						@foreach($vv['children'] as $kkk=>$vvv)
							@if(isset($vvv['style']) && $vvv['style'])
								@if($vvv["uri"])
									<li data-options='url:"{{ route($vvv["uri"]) }}",iconCls:"{{$vvv["style"]}}"'>{{$vvv['name']}}</li>
								@else
									<li data-options='url:"javascript:void(0);",iconCls:"{{$vvv["style"]}}"'>{{$vvv['name']}}</li>
								@endif
								@else
								@if($vvv["uri"])
									<li data-options='url:"{{ route($vvv["uri"]) }}"'>{{$vvv['name']}}</li>
								@else
									<li data-options='url:"javascript:void(0);"'>{{$vvv['name']}}</li>
								@endif
							@endif
						@endforeach
					@endif
					</ul>
			</li>
		@endforeach
	@endif
	</ul>
</div>
@endforeach
</div>
